<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>数据库操作</title>
    <style>
        from{display: grid;
             grid-template-columns: auto
             }
        textarea{max-height: 100px;
                 padding: 8px;
                 line-height: 1.8;}
    </style>
</head>
<body>
<h1>命令模式执行数据库操作</h1>
<p class="discription">可一次执行多条语句，或执行选择的语句~</p>
<form action='exe.php' method='post'>
	<textarea name='sql'>
use db;
show tables;
desc chengyu;
select * from chengyu limit 2;</textarea>
    <button onclick='return check()'>执行 Execute</button>
</form>
</body>
</html>
